Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityServer.​Services.​DefaultCache<​T>

Assembly: Duende.IdentityServer

Inheritance: object → DefaultCache

Implemented Interfaces

IMemoryCache-based implementation of the cache

Properties

IdentityServerOptions
The IdentityServerOptions.
ConcurrencyLock
A lock used for concurrency.
The logger.

Methods

protected string
GetKey​(string key)
Used to create the key for the cache based on the data type being cached.
GetAsync​(string key)
SetAsync​(string key, T item, System.​TimeSpan expiration)
RemoveAsync​(string key)
GetOrAddAsync​(string key, System.​TimeSpan duration, System.​Func<​System.​Threading.​Tasks.​Task<​T>> get)
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object